(custom-handle-all-keywords): Fix arg passed to custom-add-to-group.
authorMarkus Rost <rost@math.uni-bielefeld.de>
Wed, 13 Nov 2002 02:26:39 +0000 (02:26 +0000)
committerMarkus Rost <rost@math.uni-bielefeld.de>
Wed, 13 Nov 2002 02:26:39 +0000 (02:26 +0000)
lisp/custom.el

index 0d0728d5462ca9a7169e616bb1c4df13f86edb14..dcc6bb6f0466bf35230efb7c5d00601d6342763b 100644 (file)
@@ -396,7 +396,7 @@ If no such group is found, return nil."
   "For customization option SYMBOL, handle keyword arguments ARGS.
 Third argument TYPE is the custom option type."
   (unless (memq :group args)
-    (custom-add-to-group (custom-current-group) symbol 'custom-face))
+    (custom-add-to-group (custom-current-group) symbol type))
   (while args
     (let ((arg (car args)))
       (setq args (cdr args))